import Web3 from 'web3';
import contractAbi from './contract.json';

const web3 = new Web3(window.ethereum);
const contractAddress = '0x5F6415C69CE0dE35112E4BF91AC82A9e585d7391';
const contractInstance = new web3.eth.Contract(contractAbi, contractAddress);

export { web3, contractInstance };